WPSecurityNinja\Plugin\Wf_Sn_Tests D

Total Complexity 246
Dependencies 2
Dependents 0
Total lines 2,685
Lines of code 1,546
Logical lines of code 707
Comment lines 674
Methods 59
Properties 1

Methods 59

Method Rating Maintainability Complexity Lines of code
return_security_tests()
B
20
1 345
incompatible_plugins()
B
40 16 59
old_plugins()
A
43 14 45
bruteforce_login()
A
45 11 44
tim_thumb_scan()
A
48 10 33
php_headers()
A
46 8 37
core_updates_check()
A
56 9 18
dangerous_files()
A
43 7 46
deactivated_themes()
A
45 7 44
salt_keys_check()
S
50 6 30
usernames_enumeration()
S
50 6 29
shellshock_7169()
S
49 5 32
shellshock_6271()
S
49 5 32
wp_header_meta()
S
49 5 31
themes_ver_check()
S
54 5 22
plugins_ver_check()
S
54 5 22
db_password_check()
S
54 5 21
debug_log_file_check()
S
55 5 18
rest_api_enabled()
S
51 4 29
wlw_meta()
S
50 4 29
rpc_meta()
S
50 4 28
uploads_browsable()
S
51 4 26
content_security_policy()
S
52 4 25
config_chmod()
S
51 4 25
deactivated_plugins()
S
51 4 25
check_failed_login_info()
S
52 4 24
salt_keys_age_check()
S
55 4 20
ver_check()
S
59 4 14
mysql_external()
S
58 4 14
strict_transport_security()
S
52 3 25
admin_ssl()
S
58 3 16
db_table_prefix_check()
S
63 4 10
mysql_ver()
S
58 3 15
application_passwords()
S
60 3 14
check_server_ssl()
S
61 3 13
mysql_permissions()
S
61 3 12
php_ver()
S
62 3 11
feature_policy()
S
55 2 20
referrer_policy()
S
55 2 20
x_frame_options()
S
56 2 19
x_content_type_options()
S
56 2 19
try_login()
S
65 3 8
file_editor()
S
65 3 9
script_debug_check()
S
65 3 9
debug_check()
S
65 3 9
allow_url_include_check()
S
60 2 14
rest_api_links()
S
61 2 12
register_globals_check()
S
62 2 12
safe_mode_check()
S
62 2 12
config_location()
S
62 2 12
id1_user_check()
S
63 2 11
blog_site_url_check()
S
63 2 11
user_exists()
S
66 2 9
anyone_can_register()
S
64 2 10
expose_php_check()
S
64 2 10
display_errors_check()
S
64 2 10
db_debug_check()
S
64 2 10
dictionary_attack()
S
66 2 8
tim_thumb()
S
65 1 9